//验证url

export function validateURL(pathImg) {

	var ImgObj = new Image();
	ImgObj.src = pathImg;
	if(ImgObj.fileSize > 0 || (ImgObj.width > 0 && ImgObj.height > 0)) {
		return true;
	} else {
		return false;
	}

}
